package org.manon.json.asm;

import java.io.IOException;

import org.manon.json.io.Deserializer;
import org.manon.json.io.InputReader;

/**
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 */
public abstract class ASMDeserializer<T> implements Deserializer<T> {

	/**
	 * @see org.manon.json.io.Deserializer#serialize(org.manon.json.io.InputReader, org.manon.json.filter.Filter)
	 */
	public final T deserialize(InputReader input) throws IOException {
		return input.read(this);
	}

}